<template>
  <draggable class="content" group="content" v-model="content" @change="toChange">
  </draggable>
</template>

<script>
import draggable from 'vuedraggable'

export default {
  name:"tmpContent",
  components:{
    draggable,
  },
  methods: {
    toChange(e){
      console.log("toChange",e)
    }
  },
  computed:{
    content(){
      return this.$store.state.drawing.content
    }
  }
}
</script>

<style scoped>
  .content{
    width: 375px;
    height: 667px;
  }
</style>